package studentdemo.modul;

public class Class {
    private String clno;
    private String clname;
    private String clmno;

    public Class() {}

    public Class(String clno, String clname, String clmno) {
        this.clno = clno;
        this.clname = clname;
        this.clmno = clmno;
    }

    public String getClno() { return clno; }
    public void setClno(String clno) { this.clno = clno; }
    public String getClname() { return clname; }
    public void setClname(String clname) { this.clname = clname; }
    public String getClmno() { return clmno; }
    public void setClmno(String clmno) { this.clmno = clmno; }

    public String toString() { return clname + "(" + clno + ")"; }
} 